// To parse this JSON data, do
//
//     final partnerDevListModel = partnerDevListModelFromJson(jsonString);

import 'dart:convert';

PartnerDevListModel partnerDevListModelFromJson(String str) => PartnerDevListModel.fromJson(json.decode(str));

String partnerDevListModelToJson(PartnerDevListModel data) => json.encode(data.toJson());

class PartnerDevListModel {
  PartnerDevListModel({
    this.id,
    this.userId,
    this.partnerId,
    this.orderId,
    this.devId,
    this.devSn,
    this.activeTime,
    this.totalIncome,
    this.status,
    this.createTime,
    this.createBy,
    this.updateTime,
    this.updateBy,
  });

  int? id;
  int? userId;
  int? partnerId;
  int? orderId;
  String? devId;
  dynamic devSn;
  dynamic activeTime;
  double? totalIncome;
  int? status;
  int? createTime;
  dynamic createBy;
  dynamic updateTime;
  dynamic updateBy;

  factory PartnerDevListModel.fromJson(Map<String, dynamic> json) => PartnerDevListModel(
        id: json["id"],
        userId: json["userId"],
        partnerId: json["partnerId"],
        orderId: json["orderId"],
        devId: json["devId"],
        devSn: json["devSn"],
        activeTime: json["activeTime"],
        totalIncome: json["totalIncome"],
        status: json["status"],
        createTime: json["createTime"],
        createBy: json["createBy"],
        updateTime: json["updateTime"],
        updateBy: json["updateBy"],
      );

  Map<String, dynamic> toJson() => {
        "id": id,
        "userId": userId,
        "partnerId": partnerId,
        "orderId": orderId,
        "devId": devId,
        "devSn": devSn,
        "activeTime": activeTime,
        "totalIncome": totalIncome,
        "status": status,
        "createTime": createTime,
        "createBy": createBy,
        "updateTime": updateTime,
        "updateBy": updateBy,
      };
}
